<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="promise.js"></script>
</head>
<body>
<script>
    let p = new Promise((resolve, reject) => {
        console.log("Promise执行器函数执行了")
    })
    console.log(window.Promise)
</script>
</body>
</html>